package com.dhcc.bpm.modules.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.system.entity.DataTable;
import com.dhcc.bpm.modules.system.entity.DataTableColumn;

/**
 * @version V1.0
 * @ClassName IDataDictService
 * @Description TODO
 * @Author xiafayu
 * @Date 2021/3/26 16:13
 * @Copyright: 2021 东华软件.. All rights reserved.
 */
public interface IDataDictService {

    /**
     * @param page
     * @param dataTable
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.system.entity.DataTable>
     * @throws
     * @Description 分頁查詢數據庫表信息
     * @Author xiafayu
     * @Date 2021/3/26 16:24
     **/
    IPage<DataTable> selectDataTablePage(IPage<DataTable> page, DataTable dataTable);

    /**
     * @param tableName
     * @return com.dhcc.bpm.modules.system.entity.DataTableColumn
     * @throws
     * @Description 根据表名查询表结构信息
     * @Author xiafayu
     * @Date 2021/3/26 16:25
     **/
    IPage<DataTableColumn> selectDataTableColumnByTableName(IPage<DataTableColumn> page,String tableName);
}
